package hot100.datastruct;

/**
 * @author logos
 * date 2025/7/13 12:52
 * @version v1.0
 * @Package hot100.datastruct
 */
public class TreeNode {
    public int val;
    public TreeNode left;
    public TreeNode right;

    public TreeNode() {
    }

    public TreeNode(int val) {
        this.val = val;
    }

    public TreeNode(int val, TreeNode left, TreeNode right) {
        this.val = val;
        this.left = left;
        this.right = right;
    }
}
